package nciae.db.pojo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

@Data
@TableName("time_table")
public class Course {
    @TableId(type= IdType.AUTO)
    private Integer id;
    private Integer projectId;
    @JsonFormat(shape=JsonFormat.Shape.STRING,pattern="yyyy-MM-dd",timezone="GMT+8")
//    private Date lessonDate;
    private Date lessonDate;
    private String week;
    private String timeSpan;
    private String subject;
    private String content;
    private int classHours;
    private String classType;
    private String classMode;
    private String teacher;
    private String department;
    private String title;
    private String address;
    private String famous;
    private String region;
    private String qrCode;
    private Date qrDate;
    @TableField("url_img")
    private String urlImg;
    @TableField("url_file")
    private String urlFile;
}
